# 测试构建
FROM  centos:centos7.9.2009
RUN   rm -rf  /etc/yum.repos.d/Cen* \
&&  curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo \
&&  yum -y install vim  wget \
&&  wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo \
&&  yum -y install nginx